package com.csun.dsms.service;

import com.csun.dsms.comment.core.support.IService;
import com.csun.dsms.model.domain.YsStudent;
import com.csun.dsms.model.domain.YsTeacher;
import com.csun.dsms.model.dto.ys.YsBindClasses;
import com.csun.dsms.model.dto.ys.YsQueryDto;
import com.csun.dsms.model.dto.ys.YsStudentVo;

import java.util.List;

public interface YsTeacherService extends IService<YsTeacher> {
    /*
     * 添加数据
     * */
    Integer addTeacher(YsTeacher ysStudent);

    Integer deleteTeacherById(Long id);

    Integer editTeacher(YsTeacher ysStudent);

    /*
     * 根据条件搜索班级
     * */
    List<YsTeacher> queryListWithPage(YsQueryDto ysQueryDto);


    /**
     * 根据老师id 重新绑定所有classes
     * @param ysBindClasses
     * @return
     */
    Integer bindTeacherClass(YsBindClasses ysBindClasses);


}
